<template>
  <div>app</div>
</template>
<script>
export default {
  name: "app",
  data() {
    return {};
  },
  methods: {
    jumpShopify() {
      this.$router.push("");
      return;
      let shop = "happy007717.myshopify.com";
      let host = Buffer.from(shop + "/admin").toString("base64");
      let apiKey = "6637cc4b195ceb0cc156828f2ca652a2";
      var AppBridge = window["app-bridge"];
      var createApp = AppBridge.default;
      let app = createApp({
        apiKey,
        host,
      });
      this.$router.push("/user/store");
    },
  },
  mounted() {
    this.jumpShopify();
  },
};
</script>
<style scoped>
</style>